*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background: radial-gradient(#333,#111);
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.info{
    width: 100vw;
    position: absolute;
    top:0;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    color: white;
    font-size: 20px;
}
.box{
    position: relative;
}
.tip{
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
.tip_text{
    color: white;
    text-transform: uppercase;
    font-size: 100px;
}
.tip_use{
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}
.tip_use>p:first-child{
    font-size: 50px;
}
button{
    padding: 20px 30px;
    border-radius: 10px;
}
.tile{
    position: absolute;
    background: rgba(0,0,0,0.3);
    transform: translateZ(0);
    transition-duration: 3000ms;
    transition-property: opacity,background,box-shadow,transform;
}
.tile::before{
    content: '';
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom: 0;
    width: 0;
    height: 0;
    margin: auto;
}
.tile.path::before{
    opacity: 1;
}
.tile.passed{
    background: rgba(0,0,0,0.3);
    box-shadow: 0 0 10px inset black;
    transition-duration: 0ms;
}
.tile.up::before{
    border-bottom: 4px inset rgba(225,225,225,0.3);
    border-top: 4px solid transparent;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}
.tile.down::before{
    border-top: 4px inset rgba(225,225,225,0.3);
    border-bottom: 4px solid transparent;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}
.tile.left::before{
    border-right: 4px inset rgba(225,225,225,0.3);
    border-top: 4px solid transparent;
    border-left: 4px solid transparent;
    border-bottom: 4px solid transparent;
}
.tile.right::before{
    border-left: 4px inset rgba(225,225,225,0.3);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 4px solid transparent;
}
.tile.up::before,.tile.down::before,.tile.left::before,.tile.right::before{
    border-width: 6px;
}